<xsl:stylesheet version="2.0"
		xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
		xmlns:svg="http://www.w3.org/2000/svg"
		xmlns:xlink="http://www.w3.org/1999/xlink"
		>

	<xsl:param name="tag" select="''"/>
	<xsl:param name="rgb" select="'255,12,122'"/>
	<xsl:param name="opacity" select="'0.9'"/>
	<xsl:param name="organisation" select="'eu'"/>
			
  	<xsl:template match="node()|@*">
    	<xsl:copy>
      		<xsl:apply-templates select="node()|@*"/>
    	</xsl:copy>
  	</xsl:template>

  	<xsl:template match="
			svg:path[contains(@class,$tag)] | 
			svg:path[ancestor::svg:g[contains(@id,$tag)]] | 
			svg:path[ancestor::svg:g[contains(@class,$tag)]]
			">
		<xsl:copy>
      		<xsl:apply-templates select="node()|@*"/>
				<xsl:attribute name="style">
					fill:rgb(<xsl:value-of select="$rgb"/>);fill-opacity:<xsl:value-of select="$opacity"/>
				</xsl:attribute>
    	</xsl:copy>
 	</xsl:template>

</xsl:stylesheet>